home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual dBase v5.5 / CUSTOM.PAK / CUSTOM.TXT < prev    next >
Encoding:
Text File  |  1995-07-18  |  4.0 KB  |  125 lines

  1.              Copyright (c) 1991-1994 Borland International, Inc.
  2.                             All Rights Reserved.
  3.  
  4. This document describes Visual dBASE custom control files, which are
  5. installed in the CUSTOM subdirectory.
  6.  
  7.  
  8. You can use the controls described below by either of the following:
  9.  
  10. A: While designing a form in the Forms Designer, select
  11.    "Set Up Custom Controls" from the "File" menu, and then specify
  12.    one of the files below this file on the "dBASE Controls" page.
  13.    The custom classes defined in the selected file will appear on
  14.    the "Custom" page of the Controls Palette.  You can then add
  15.    these controls to your form visually and modify their properties
  16.    in the Object Inspector and the Procedure Editor.
  17. or
  18.  
  19. B: SET PROCEDURE TO <the file you want> ADDITIVE within your program,
  20.    and then use the custom controls as you would any built-in ones.
  21.    For example: DEFINE CANCELBUTTON C OF THIS....
  22.  
  23.  
  24. AVIPANEL.CC
  25. -----------
  26.  
  27. This file contains an AviPanel custom class, which is derived from
  28. the Visual dBASE built in PAINTBOX Class. This custom class
  29. is a display panel, along with all the necessary methods,
  30. for displaying a Video for Windows AVI file. This requires
  31. Microsoft's Video for Windows to be installed.
  32.  
  33. *
  34.  
  35.  
  36. BUTTONS.CC
  37. ----------
  38.  
  39. This is file contains class definitions for various custom
  40. pushbutton controls used frequently in Visual dBASE forms.
  41.  
  42. These pushbuttons contain bitmaps, which are located in
  43. <_dbwinhome>\designer\form\Resource.dll.
  44.  
  45. Current Controls are:
  46.  
  47.    OkButton         -- "OK" text and bitmap
  48.  
  49.    CloseButton      -- "Close" text and bitmap
  50.  
  51.    CancelButton     -- "Cancel" text and bitmap
  52.  
  53.    YesButton        -- "Yes" text and bitmap
  54.  
  55.    NoButton         -- "No" text and bitmap
  56.  
  57.    NextButton       -- Button displaying "Next" text and bitmap, and containing
  58.                        OnClick event handler for skipping forward in a table
  59.  
  60.    PrevButton       -- Button displaying "Previous" text and bitmap, and
  61.                        containing OnClick event handler for skipping
  62.                        back in a table
  63.  
  64.    HelpButton       -- "Help" text and bitmap
  65.  
  66.    InfoButton       -- "Info" text and bitmap
  67.  
  68.    ToolButton       -- "Tool" bitmap
  69.  
  70.    ReportButton     -- Button displaying "Report" text and bitmap, and
  71.                        containing OnClick event handler for bringing up a report
  72.  
  73.    BrowseButton     -- Button displaying "Browse" text and bitmap, and
  74.                        containing OnClick event handler for browsing table
  75.  
  76. *
  77.  
  78.  
  79. PASSWORD.CC
  80. -----------
  81.  
  82. This file contains a customized entryfield control class, PasswordEntry,
  83. which can be used for entering a password.
  84.  
  85. This control will hide the entered password by outputting "*" characters
  86. for each character entered, and will save the actual entered password
  87. in its EnteredPassword custom property.  You can then do the checking on
  88. the password and display the error message you wish.
  89.  
  90.  
  91. *
  92.  
  93.  
  94. TABBOX.CC
  95. ---------
  96.  
  97. This files contains various Tabbox custom controls that can be
  98. used in Visual dBASE forms.  Each control is contained in
  99. a separate class.
  100.  
  101. Current Controls are:
  102.  
  103.    PageTabBox    -- Tabbox for keeping track of a forms' pages
  104.  
  105.    SearchTabBox  -- Tabbox for alphabetical searches
  106.  
  107.  
  108.  
  109. VCR.CC
  110. ------
  111.  
  112. This file defines a set of VCR buttons for navigating within a table.
  113. The buttons allow you to move to the first record, previous page,
  114. previous record, next record, next page, and last record, respectively.
  115. All of these buttons are defined within the first button control.  So
  116. you can manipulate the VcrButtons class, which is the main class for
  117. this control, as if all the buttons were one control.
  118.  
  119. There are some custom properties you can assign to VcrButtons.  One of
  120. them is Etched -- it optionally defines a rectangle around the buttons
  121. to give them an etched look.  You can also define routines to be executed
  122. before and after each of the OnClick routines for the buttons.
  123.  
  124.  
  125.